Generalized mixed-effects modelling